+Mon Jan 25 19:00:13 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcolorsel.c (gtk_color_selection_value_events):
+ Back out the last solution to updating problem. And
+ try a different one that is less dependent on
+ the state of the widget. Just redraw the value_marker
+ when it gets mapped. Somebody needs to analyze
+ this widget more carefully and figure out
+
Mon Jan 25 17:48:03 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
+Mon Jan 25 19:00:13 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcolorsel.c (gtk_color_selection_value_events):
+ Back out the last solution to updating problem. And
+ try a different one that is less dependent on
+ the state of the widget. Just redraw the value_marker
+ when it gets mapped. Somebody needs to analyze
+ this widget more carefully and figure out
+
Mon Jan 25 17:48:03 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
+Mon Jan 25 19:00:13 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcolorsel.c (gtk_color_selection_value_events):
+ Back out the last solution to updating problem. And
+ try a different one that is less dependent on
+ the state of the widget. Just redraw the value_marker
+ when it gets mapped. Somebody needs to analyze
+ this widget more carefully and figure out
+
Mon Jan 25 17:48:03 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
+Mon Jan 25 19:00:13 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcolorsel.c (gtk_color_selection_value_events):
+ Back out the last solution to updating problem. And
+ try a different one that is less dependent on
+ the state of the widget. Just redraw the value_marker
+ when it gets mapped. Somebody needs to analyze
+ this widget more carefully and figure out
+
Mon Jan 25 17:48:03 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
+Mon Jan 25 19:00:13 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcolorsel.c (gtk_color_selection_value_events):
+ Back out the last solution to updating problem. And
+ try a different one that is less dependent on
+ the state of the widget. Just redraw the value_marker
+ when it gets mapped. Somebody needs to analyze
+ this widget more carefully and figure out
+
Mon Jan 25 17:48:03 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
+Mon Jan 25 19:00:13 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcolorsel.c (gtk_color_selection_value_events):
+ Back out the last solution to updating problem. And
+ try a different one that is less dependent on
+ the state of the widget. Just redraw the value_marker
+ when it gets mapped. Somebody needs to analyze
+ this widget more carefully and figure out
+
Mon Jan 25 17:48:03 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
+Mon Jan 25 19:00:13 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcolorsel.c (gtk_color_selection_value_events):
+ Back out the last solution to updating problem. And
+ try a different one that is less dependent on
+ the state of the widget. Just redraw the value_marker
+ when it gets mapped. Somebody needs to analyze
+ this widget more carefully and figure out
+
Mon Jan 25 17:48:03 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
gtk_color_selection_update_inputs (colorsel, RGB_INPUTS | HSV_INPUTS | OPACITY_INPUTS, BOTH);
- gtk_color_selection_draw_value_bar (colorsel, FALSE);
- gtk_color_selection_draw_sample (colorsel, FALSE);
-
if (GTK_WIDGET_DRAWABLE (GTK_WIDGET (colorsel)))
- gtk_color_selection_draw_wheel_marker (colorsel);
+ {
+ gtk_color_selection_draw_value_bar (colorsel, FALSE);
+ gtk_color_selection_draw_sample (colorsel, FALSE);
+ gtk_color_selection_draw_wheel_marker (colorsel);
+ }
}
void
gtk_widget_show (colorsel->entries[OPACITY]);
}
- gtk_color_selection_draw_sample (colorsel, FALSE);
+ if (GTK_WIDGET_DRAWABLE (colorsel->sample_area))
+ gtk_color_selection_draw_sample (colorsel, FALSE);
}
static void
switch (event->type)
{
case GDK_MAP:
+ gtk_color_selection_draw_value_bar (colorsel, FALSE);
gtk_color_selection_draw_value_marker (colorsel);
break;
case GDK_EXPOSE: